package com.example.sociamedia.user.entity;

import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter//用这个两个注释以后看起来干净多了
@Getter
public class User {
    private Long userid;
    private String username;
    private String email;
    private String passwordhash;
    private String fullname;
    private String bio;
    private String profilepictureurl;
    private LocalDateTime createdat;
    private LocalDateTime updatedat;
    private String sessionToken;
    private LocalDateTime tokenExpiry;

    // Getters and Setters

}